package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员管理对象 sys_vip
 * 
 * @author ruoyi
 * @date 2025-08-09
 */
public class SysVip extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员id */
    private Long vipId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long deptId;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 余额 */
    @Excel(name = "余额")
    private Double balance;

    /** 会员类型（1普通会员） */
    @Excel(name = "会员类型", readConverterExp = "1=普通会员")
    private String type;

    /** 状态（0停用，1启用） */
    @Excel(name = "状态", readConverterExp = "0=停用，1启用")
    private String status;

    public void setVipId(Long vipId) 
    {
        this.vipId = vipId;
    }

    public Long getVipId() 
    {
        return vipId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setBalance(Double balance)
    {
        this.balance = balance;
    }

    public Double getBalance()
    {
        return balance;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vipId", getVipId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("balance", getBalance())
            .append("type", getType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
